﻿using B.S.Production.Domain.Entities;
using B.S.Production.ErrorCode;
using MediatR;
using SqlSugar;

namespace B.S.Production.Write.API.Application.Command.BomMainMaterialsRequiredCommand
{
    public class AddBomMainMaterialsRequiredCommand:IRequest<ApiResult<int>>
    {
        // <summary>
        /// 主键
        /// </summary>
        public int BomMainId { get; set; }

        /// <summary>
        /// 物料清单主题（必填）
        /// </summary>
        public string BomSubject { get; set; }

        /// <summary>
        /// 物料清单编号（可自动生成）
        /// </summary>
        public string BomCode { get; set; }

        /// <summary>
        /// 制单人员
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; } = DateTime.Now;
    }
}
